package com.example.booksshop.mapper;
import com.example.booksshop.entity.User;
import org.springframework.stereotype.Repository;
import java.util.List;


/**
 *
 * @author xuan 2021/9/15
 */
@Repository
public interface UserMapper {

    void insert(User user);

    User select(Integer id);

    void delete(Integer id);

    int update(User user);

    List<User> show();
}
